Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New architecture #33

Merged
merged 13 commits into from
Nov 25, 2024
Merged

New architecture #33

merged 13 commits into from
Nov 25, 2024

Conversation

NorbertKlockiewicz
Copy link
Contributor

@NorbertKlockiewicz NorbertKlockiewicz commented Nov 20, 2024

Description

Migrated react native executorch library to new architecture, implemented new version of event emitters offered by new architecture, adjusted native code to implement codegen generated classes also updated react native version to 0.76 and changed folder structures so it's more self explanatory.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (improves or adds clarity to existing documentation)

Tested on

  • iOS
  • Android

Testing instructions

Screenshots

Related issues

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings

Additional notes

Comment on lines 6 to 7
DEFAULT_SYSTEM_PROMPT,
DEFAULT_CONTEXT_WINDOW_LENGTH,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

picky, I know, but better keep it in alphabetical order (revert this line swap)

EOT_TOKEN,
} from './constants';
import { ResourceSource, Model } from './types';
} from './constants/constants';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, maybe not for now, but the naming looks off (constants file inside constants dir) just a thought tho

@NorbertKlockiewicz NorbertKlockiewicz merged commit 54c1a10 into main Nov 25, 2024
3 checks passed
@NorbertKlockiewicz NorbertKlockiewicz deleted the new-architecture branch November 25, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants